<?php
/**
 * debug e erros
 * desativar em produção
 */
ini_set("display_errors",true);
error_reporting(E_ALL);
define("ZEND_DEBUG",true);

/**
 * Configuração dos paths
 *
 */
define("PATH_APLICATION","./Application/");
define("PATH_INCLUDES","./Includes/");
define("PATH_LYBRARY","./Librarys/");
define("PATH_PUBLIC","./Public/");
define("PATH_TEMP","./Temp/");
define("PATH_CORE", "./Core/");
define("PATH_MAIN",PATH_APLICATION . "Default/Controllers");

/**
 * Configurando do includes path default
 */
set_include_path(
	PATH_APLICATION		. PATH_SEPARATOR .
	PATH_INCLUDES		. PATH_SEPARATOR .
	PATH_LYBRARY		. PATH_SEPARATOR .
	PATH_PUBLIC			. PATH_SEPARATOR .
	PATH_CORE			. PATH_SEPARATOR .
	get_include_path()
);

/**
 * Carrega classe de autoLoad para classes
 */
require_once('Zend/Loader.php');
Zend_Loader::registerAutoload();